<!DOCTYPE html>
<html lang="en">
<html xmlns="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>登录页面</h1>
<form th:action="@{/tm/cheak}" method="post">
    账号:<input type="text" name="username"><br>
    密码:<input type="text" name="password"><br>
    <input type="submit" value="登录">
</form>

<!--<a href="/tm/toindex">点击跳转到主页2</a>-->
<!--<a th:href="@{/tm/toindex}">点击跳转到主页</a>-->
</body>
</html>